package com.luobd.bpm.common.utils;

import org.activiti.bpmn.converter.BpmnXMLConverter;
import org.activiti.bpmn.model.BpmnModel;

public class BpmnUtil {



    public static String model2Xml(BpmnModel bpmnModel) {
        BpmnXMLConverter converter = new BpmnXMLConverter();
        byte[] convert = converter.convertToXML(bpmnModel);
        return new String(convert);
    }





}
